[INFO] fetching crate enigma 0.0.2...
[INFO] checking enigma-0.0.2 against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] extracting crate enigma 0.0.2 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate enigma 0.0.2 on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate enigma 0.0.2
[INFO] finished tweaking crates.io crate enigma 0.0.2
[INFO] tweaked toml for crates.io crate enigma 0.0.2 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d91c04664eccf7b8d76555d66eec9ee8704c642192076d9080b49e2f03c1bdaf
[INFO] running `Command { std: "docker" "start" "-a" "d91c04664eccf7b8d76555d66eec9ee8704c642192076d9080b49e2f03c1bdaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d91c04664eccf7b8d76555d66eec9ee8704c642192076d9080b49e2f03c1bdaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d91c04664eccf7b8d76555d66eec9ee8704c642192076d9080b49e2f03c1bdaf", kill_on_drop: false }`
[INFO] [stdout] d91c04664eccf7b8d76555d66eec9ee8704c642192076d9080b49e2f03c1bdaf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b02dd46d37f30e87697b36b582d283cde5cfa5fc18f3f8b428011410ab7a15bc
[INFO] running `Command { std: "docker" "start" "-a" "b02dd46d37f30e87697b36b582d283cde5cfa5fc18f3f8b428011410ab7a15bc", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking enigma v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/hashes/md2.rs:96:33
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout]    |                                 ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout] 96 +             let n = min(in_len, 16 - self.cur_len);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/hashes/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         use std::vec::Vec;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/hashes/md4.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn set_input(&mut self, input: &[u8]) {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/hashes/md2.rs:96:33
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout]    |                                 ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout] 96 +             let n = min(in_len, 16 - self.cur_len);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/hashes/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         use std::vec::Vec;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hashes/mod.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn perform_hash_test(hash: &mut HashFunction, test: &HashTestCase) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 -     pub fn perform_hash_test(hash: &mut HashFunction, test: &HashTestCase) {
[INFO] [stdout] 91 +     pub fn perform_hash_test(hash: &mut dyn HashFunction, test: &HashTestCase) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_elem` found for struct `Vec<_, _>` in the current scope
[INFO] [stdout]   --> src/hashes/mod.rs:96:31
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut result = Vec::from_elem(hash.get_output_length(), 0u8);
[INFO] [stdout]    |                               ^^^^^^^^^ function or associated item not found in `Vec<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stdout]    --> src/hashes/mod.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert!(result_str.as_slice() == test.output_str);
[INFO] [stdout]     |                            ^^^^^^^^ method not found in `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `enigma` due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b02dd46d37f30e87697b36b582d283cde5cfa5fc18f3f8b428011410ab7a15bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b02dd46d37f30e87697b36b582d283cde5cfa5fc18f3f8b428011410ab7a15bc", kill_on_drop: false }`
[INFO] [stdout] b02dd46d37f30e87697b36b582d283cde5cfa5fc18f3f8b428011410ab7a15bc
